package com.quectel.core.module.invoice.dto;

import com.quectel.core.module.parking.dto.ParkingOrderDto;
import com.quectel.core.module.parkingcard.dto.ParkingCardOrderDto;
import com.quectel.core.module.propertybill.dto.PropertyBillDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/03/31 16:28
 */
@Data
@Schema
public class InvoiceItemDto implements Serializable {

    /**
     *
     */
    @Schema(description = "")
    private Long id;

    /**
     * 开票id
     */
    @Schema(description = "开票id")
    private Long invoiceId;

    /**
     * 对应类型的账单id
     */
    @Schema(description = "对应类型的账单id")
    private Long sourceId;

    /**
     * 开票类型1物业费...
     */
    @Schema(description = "开票类型1物业费...")
    private Byte sourceType;

    /************非数据库字段 start ************/
    /**
     * 物业费账单
     */
    @Schema(description = "物业费账单")
    private PropertyBillDto propertyBill;

    /**
     * 月卡账单
     */
    @Schema(description = "月卡账单")
    private ParkingCardOrderDto parkingCardOrderDto;

    /**
     * 临停账单
     */
    @Schema(description = "临停账单")
    private ParkingOrderDto parkingOrderDto;


    /************非数据库字段 end **************/
}
